﻿<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="SitePages" Url="$Resources:cmscore,List_Pages_UrlName;" Path="Pages" RootWebOnly="True">
    <File Type="GhostableInLibrary" Name="profile.aspx" Url="profile.aspx">
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Main.Profile.aspx" />
      <AllUsersWebPart WebPartZoneID="ContentArea" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>      
                <type name="Eneta.Portal.Profiles.WebParts.ProfileWebPart, Eneta.Portal.Profiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import ProfileWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal profile viewer web part</property>
                  <property name="Description" type="string">This web part displays user profiles in detail view.</property>
                  <property name="ChromeType">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
      <AllUsersWebPart WebPartZoneID="LeftNavigationArea" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Profiles.WebParts.ProfileLeftMenuWebPart, Eneta.Portal.Profiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import ProfileLeftMenuWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Profile Left Menu Web Part</property>
                  <property name="Description" type="string">This web part shows left menu for profile pages.</property>
                  <property name="ChromeType">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
    <File Type="GhostableInLibrary" Name="editprofile.aspx" Url="editprofile.aspx">
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Main.Profile.aspx" />
      <AllUsersWebPart WebPartZoneID="ContentArea" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Profiles.WebParts.ProfileEditWebPart, Eneta.Portal.Profiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import ProfileEditWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal profile editor web part</property>
                  <property name="Description" type="string">This web part serves as profile editor that allows edit and save user profiles.</property>
                  <property name="ChromeType">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
      <AllUsersWebPart WebPartZoneID="LeftNavigationArea" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Profiles.WebParts.ProfileLeftMenuWebPart, Eneta.Portal.Profiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import ProfileLeftMenuWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Profile Left Menu Web Part</property>
                  <property name="Description" type="string">This web part shows left menu for profile pages.</property>
                  <property name="ChromeType">None</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
  </Module>
</Elements>